package com.mc.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mc.dao.TeachertypeMapper;
import com.mc.model.Teachertype;
import com.mc.service.TeachertypeService;
@Service
public class TeachertypeServiceImpl implements TeachertypeService {

	@Autowired
	private TeachertypeMapper teachertypeMapper;
	@Override
	public int deleteByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insert(Teachertype record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insertSelective(Teachertype record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public Teachertype selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return teachertypeMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(Teachertype record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByPrimaryKey(Teachertype record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<Teachertype> selectAllTtypes() {
		// TODO Auto-generated method stub
		return teachertypeMapper.selectAllTtypes();
	}

}
